package cn.tedu;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("cn.tedu")
public class BeanConfig {
    @Bean
    public Student student(){
        return new Student();
    }
}
